export interface User {
  id: string;
  nickname: string;
  avatar: string;
}

export interface Message {
  id: string;
  content: string;
  senderId: string;
  timestamp: Date;
  contentSourceList?: ContentSource[];
}

export interface ContentSource {
  fileId: string;
  fileName: string;
}

export interface Chat {
  id: string;
  name: string;
  lastMessage: Message;
  participants: User[];
}